package com.jichaoyun.service.util.TcpUtils;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class TcpServerStart implements CommandLineRunner {

    @Autowired
    private TcpConnect tcpConnect;

    @Override
    public void run(String... args) throws Exception {
        tcpConnect.startServer();
    }


}
